#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>

int removeDuplicates(int* nums, int numsSize)
{
    int* left = nums;
    int* right = nums;
    while (right < nums + numsSize)
    {
        if (*left == *right)
        {
            right++;
        }
        else
        {
            left++;
            *left = *right;
            right++;
        }
    }
    return (int)(left - nums) + 1;
}

int main()
{
return 0;
}